package com.bjx.api.system.service.fallback;


import com.bjx.api.system.domain.query.UserQuery;
import com.bjx.api.system.domain.vo.UserVO;
import com.bjx.api.system.service.RemoteUserService;
import com.bjx.common.core.domain.R;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public class RemoteUserFallBack implements RemoteUserService {
    @Override
    public R<UserVO> selectUserInfoByUsername(String username) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<UserVO> selectUserInfoByUserId(Long userId) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<List<UserVO>> listUserVOByIds(UserQuery userQuery) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<List<UserVO>> listUserVOByOrgAndPosts(UserQuery userQuery) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<List<UserVO>> listUserVOByRoleIds(UserQuery userQuery) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<List<UserVO>> listUserVOByPostIds(UserQuery userQuery) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<List<UserVO>> listUserVOByOrgAndRoleIds(UserQuery userQuery) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<List<UserVO>> listUserVOByComAndRoleIds(UserQuery userQuery) {
        return R.fail("获取用户信息失败");
    }

    @Override
    public R<List<UserVO>> listUserVOByComAndPosts(UserQuery userQuery) {
        return R.fail("获取用户信息失败");
    }


}
